package model;

import java.io.Serializable;

public class Seat implements Serializable {
    private static final long serialVersionUID = 1L;
    private int row;
    private int col;
    private boolean isSold;

    public Seat(int row, int col, boolean isSold) {
        this.row = row;
        this.col = col;
        this.isSold = isSold;
    }

    // Getter和Setter
    public int getRow() { return row; }
    public int getCol() { return col; }
    public boolean isSold() { return isSold; }
    public void setSold(boolean sold) { isSold = sold; }
}